/*
 * DocumentoConstants.java
 *
 * Created on 28 de Maio de 2009, 22:17
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package necticadastro;

/**
 *
 * @author Netto
 */
public class DocumentoConstants {
    
    private static DocumentoConstants SingletonInstance = null;
    
    public final int TIPO_CNPJ      = 1;
    public final int TIPO_CPF       = 2;
    public final int TIPO_ID        = 3;
    
    public static DocumentoConstants getInstance() {
        if (SingletonInstance == null)
            SingletonInstance = new DocumentoConstants();
        return SingletonInstance;
    }
    
    /** Creates a new instance of UIComponentConstants */
    private DocumentoConstants() {
        // Fazer uma conexao com o banco e carregar a lista de constantes do Formulario principal
        // na tabela UIComponentConstants
        // atribui os valores do Banco a BDListaComponents
    }
    
}
